﻿namespace Borg
{
    [SlotDefinition("Analyzer")]
    [Param("SupportedExtensions", typeof(string), "")]
    public interface IAnalyzer
    {
        bool AnalyzeFile(string file, TypeBuilder builder,
            out ContractInfo[] contractInfos, out PluginInfo[] pluginInfos);

        ContractInfo[] GetContracts(string file, TypeBuilder builder);
        PluginInfo[] GetPlugins(string file, TypeBuilder builder);
    }
}

